package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class ColumnDefaultOption implements LikeOptions {

    private int beginIndex;
    private int endIndex;
    private boolean includingDefaults;
    private boolean excludingDefaults;

    public ColumnDefaultOption(int beginIndex,
                               int endIndex,
                               boolean includingDefaults,
                               boolean excludingDefaults) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.includingDefaults = includingDefaults;
        this.excludingDefaults = excludingDefaults;
    }

    @Override
    public int getBeginIndex() {
        return beginIndex;
    }

    @Override
    public int getEndIndex() {
        return endIndex;
    }

    public boolean isIncludingDefaults() {
        return includingDefaults;
    }

    public boolean isExcludingDefaults() {
        return excludingDefaults;
    }

}
